Bourne Shell
, developed by Steve Bourne @ AT&Tstandard shell
on UNIX
based system.csh
, vi
, BSD
.csh
.csh
, adding Command-line completion
.bash
.bash
is compatible with sh
(Bourne Shell).bash
expands some params, and commands
$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/bin/tcsh
/bin/csh
On GNU/Linux
, sh
is replaced with bash
$ echo $SHELL
/bin/bash
SHELL
is an environment variable under GNU/Linux
, it indicates the path of current shell we use.